#
# This is the spites main configuration file:
#

#
#    Window width and height
#
WIDTH, HEIGHT = 800, 600

#
#  Windowed or full-screen
#
WINDOWED = True

#
#    Maximal total number of food blocks 
#    at any time
#
NUM_BLOCKS = 100

block_dimensions = [20, 15]

NUM_BAD_BLOCKS = 0

#
#   Try this if you want to 
#   control the player block
#   by your mouse
# 
MOUSE_GUIDANCE_MODE = False

#
#    Food blocks closer than
#    MOVE_AWAY_DIST
#    will try to move away
#
MOVE_AWAY_DIST = 100


#
#    Food blocks with slower 
#    x-speed than NORMAL_SPEED
#    will slowly accelerate
#
NORMAL_SPEED = 2

#
#    Deceleration rate due to friction
#
DEC_RATE= 27.2

#
#    Probability of bad block
#    acceleration in %
#
BAD_BLOCK_ACC_PROB = 22

BAD_BLOCK_ACCELERATION = 2

PLAYER_ACCELERATION = 0.05

FOOD_BLOCK_ACC = 2

#
#    Score when the color theme changes
#
max_score = 9

#
#    Affects how fast the food blocks gain x-velocity
#
GRAVITY_CONSTANT = 0.4925

#
#    Probabitily the food blocks move away
#
PROB_TO_MOVE_AWAY = 100

GRAVITY_PROB = 30


DEBUG = False
